import myaxios from '@/mytools/myaxios'

export function peoplemanagerPage(searchModel) {
    return myaxios({
      url: 'People/SearchPage',
      method: 'post',
      data: searchModel
    })
  }

  export function arrsDelete(strdel) {
    return myaxios({
      url: 'People/PostPenDeletes?strarr='+strdel,
      method: 'post'
    })
  }

  export function getdropurapi() {
    return myaxios({
      url: 'People/BinddepartmentSuperiorPos',
      method: 'get'
    })
  }

  export function SearchRoleList(searchModel) {
    return myaxios({
      url: 'SystemManager/RoleManager/SearchPage',
      method: 'post',
      data:searchModel
    })
  }

  export function peopleaddapi(PeoplePo) {
    return myaxios({
      url: 'People/PostPeoAdd',
      method: 'post',
      data:PeoplePo
    })
  }